
// 自动生成模板Users
package people
import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// users表 结构体  Users
type Users struct {
    global.GVA_MODEL
  Name  *string `json:"name" form:"name" gorm:"comment:用户名;column:name;size:32;"`  //用户名
  Img  string `json:"img" form:"img" gorm:"comment:用户头像;column:img;size:256;"`  //用户头像
  Phone  *string `json:"phone" form:"phone" gorm:"comment:手机号码;column:phone;size:191;"`  //手机号码
  Email  *string `json:"email" form:"email" gorm:"comment:邮箱;column:email;size:50;"`  //邮箱
}


// TableName users表 Users自定义表名 users
func (Users) TableName() string {
    return "users"
}





